package com.shuai.profile;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Redis配置文件属性值
 *
 * @author shuai
 * @since 2022
 */
@Data
@Configuration
@ConfigurationProperties("redis")
public class RedisProfile {

    /**
     * Redis过期时间
     */
    private Long expire;

}
